Micron Document
Fox's Git Mirrors

Node / rns-mirrors / Reticulum-Go.git / files / scripts / ci / install-git-hooks.sh

Displaying Raw • Download

scripts/ci/install-git-hooks.sh 61af5556362c8bdf7c09a1c01bc84f81629f281b (61af5556) Text, 292 B

#!/bin/sh
# Point this clone at .githooks/ (tracked git hooks).
set -eu

ROOT="$(CDPATH='' cd -- "$(dirname "$0")/../.." && pwd)"
cd "$ROOT"

git config core.hooksPath .githooks
chmod +x .githooks/pre-commit scripts/ci/pre-commit-lint.sh
echo "install-git-hooks.sh: core.hooksPath=.githooks"

Served by rngit 1.5.2 - Generated in 0.02s